package cn.powertime.evaluation.web.controller;

import cn.powertime.evaluation.entity.SysLog;
import cn.powertime.evaluation.service.SysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import sun.rmi.runtime.Log;

/**
 * @author yyd
 * @version V1.0
 * @Package cn.powertime.evaluation.web.controller
 * @date 2019/11/17 23:11
 */
@RestController
@RequestMapping("/sysLog")
public class LogController {

    @Autowired
    SysLogService sysLogService;

    @RequestMapping("/save")
    public void saveLog(SysLog sysLog){
        sysLogService.save(sysLog);
    }

}
